import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import router from '@/router'
import { createTableMessage } from '@/db/model/message'

const app = createApp(App)
app.use(router)
app.mount('#app').$nextTick(() => {
  createTableMessage()
  // Use contextBridge
  // window.ipcRenderer.on('main-process-message', (_event, message) => {
  //   console.log('message',message)
  // })
})
